\( \def\dfrac#1#2{\displaystyle\frac{#1}{#2}} \def\solve#1{\begin{array}{rcl}#1\end{array} } \)

Home / 01 Mathematical Functions / 07 Evaluating A Function

Evaluate the function at the indicated values.

\[h(x) = \frac{x^2-1}{x+1}\]

  • \(h(1) = \)
  • \(h(2) = \)
  • \(h(3) =\)
  • \(h(-2) =\)

The purpose of this example is to highlight the various parts of the algebraic function notation. To begin with, let's look at the left side of the equation: \(h(x)\). This particular notation is re-using parenthesis contextually to denote something new. It is a point of confusion for many students since parenthesis have always been used for grouping operations and implied multiplication. Context Matters! The context of this problem clearly defines a function named \(h\) whose input variable is \(x\). That is what the notation \(h(x)\) means in this context.

It is possible to refer to a function without explicity defining it, but in this example, \(h(x)\) is set into an equation. This equation defines the function with a specific algebraic formula. This formula describes precisely what happens to any input, \(x\) in terms of algebraic operations like exponents, multiplication, division, addition and subtraction. It can also tke the form of other functions like radicals and trigonometric functions.

Lesson aside, the answer to this question can be quickly attained by applying the formula to the inputs as follows:

\[\begin{{array}}{ rcl } \displaystyle h(\color{ red }{ 1 }\color{black }) &=& \displaystyle\frac{\color{ red }{ 1 }\color{{black}}^2 - 1}{\color{{red}}{ 1}\color{{black}}+1} =\frac{{0}}{{2}} = 0\\ h(\color{{red}}2\color{{black}}) &=&\displaystyle\frac{\color{{red}}2\color{{black}}^2 - 1}{\color{{red}}2\color{{black}}+1} = \frac{{3}}{{3}} =1 \\ h({\color{{red}} 3}) &=&\displaystyle\frac{ {\color{{red}} 3}^2 - 1} {{\color{{red}} 3} +1}=\frac{{8}}{{4}}\end{{array}}\]

While positive numbers didn't require any extra consideration, when the input is a negative number always use extra parenthesis!

\[h(-2) = \displaystyle\frac{({\color{{red}} -2})^2-1}{({\color{{red}} -2})+1}=\frac{4-1}{{-1}} = \frac{{3}}{{-1}} =-3\]

Perhaps the most common error when evaluating a function that I see is forgetting to include the negative when applying an exponent!